package com.luyu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * @TableName client
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value ="unit")
public class Unit extends BaseEntityWithLongId  {



    @TableField(value = "name")
    private String name;

    @TableField(value = "region_code")
    private String region_code;

    @TableField("parent_unit_id")
    private Long parentUnitId;

}